#pragma once

#include <iostream>
#include <string>
using namespace std;

class multimedia
{
protected:
	string name;
	int year;
public:
	multimedia(void);
	multimedia(string, int);
	~multimedia(void);
	
	string getName() const { return name; }
	int getYear() const { return year; }

	virtual void print();
	friend bool operator== (multimedia&, const multimedia&);
	friend ostream & operator<< (ostream &, multimedia &);
	friend istream & operator>> (istream &, multimedia &);

};

